home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / c / library / mslang / mfcvbx / vbxmsg.h_ / vbxmsg.h
Encoding:
C/C++ Source or Header  |  1994-06-07  |  7.6 KB  |  206 lines

  1. //
  2. // $Id$
  3. //
  4. // Module    :    vbxmsg.h
  5. //
  6. // Author    :      James Bish
  7. //
  8. // Date        :      10/2/93
  9. //
  10. // Purpose     :     This module defines macros used for message mapping
  11. //              for the MFCVBX library.
  12. //
  13. // $Log$
  14. //  
  15.  
  16. #ifndef __VBX_MSG_H__
  17. #define __VBX_MSG_H__
  18.  
  19. #define ON_VBM_CANCELMODE() \
  20.     { VBM_CANCELMODE, 0, AfxSig_lwl, \
  21.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBCancelMode },
  22.  
  23. #define ON_VBM_CHECKPROPERTY() \
  24.     { VBM_CHECKPROPERTY, 0, AfxSig_lwl, \
  25.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBCheckProperty },
  26.         
  27. #define ON_VBM_COPY() \
  28.     { VBM_COPY, 0, AfxSig_lwl, \
  29.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBCopy },
  30.         
  31. #define ON_VBM_CREATED() \
  32.     { VBM_CREATED, 0, AfxSig_lwl, \
  33.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBCreated },
  34.         
  35. #define ON_VBM_DRAGDROP() \
  36.     { VBM_DRAGDROP, 0, AfxSig_lwl, \
  37.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBDragDrop },
  38.         
  39. #define ON_VBM_DRAGOVER() \
  40.     { VBM_DRAGOVER, 0, AfxSig_lwl, \
  41.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBDragOver },
  42.         
  43. #define ON_VBM_FIREEVENT() \
  44.     { VBM_FIREEVENT, 0, AfxSig_lwl, \
  45.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBFireEvent },
  46.         
  47. #define ON_VBM_GETDEFSIZE() \
  48.     { VBM_GETDEFSIZE, 0, AfxSig_lwl, \
  49.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBGetDefSize },
  50.         
  51. #define ON_VBM_GETPALETTE() \
  52.     { VBM_GETPALETTE, 0, AfxSig_lwl, \
  53.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBGetPalette },
  54.         
  55. #define ON_VBM_GETPROPERTY() \
  56.     { VBM_GETPROPERTY, 0, AfxSig_lwl, \
  57.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBGetProperty },
  58.         
  59. #define ON_VBM_GETPROPERTYHSZ() \
  60.     { VBM_GETPROPERTYHSZ, 0, AfxSig_lwl,\
  61.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBGetPropertyHsz }, 
  62.         
  63. #define ON_VBM_HELP() \
  64.     { VBM_HELP, 0, AfxSig_lwl, \
  65.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBHelp },
  66.         
  67. #define ON_VBM_HITTEST() \
  68.     { VBM_HITTEST, 0, AfxSig_lwl, \
  69.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBHitTest }, 
  70.         
  71. #define ON_VBM_INITIALIZE() \
  72.     { VBM_INITIALIZE, 0, AfxSig_lwl, \
  73.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBInitialize },
  74.  
  75. #define ON_VBM_INITPROPPOPUP() \
  76.     { VBM_INITPROPPOPUP, 0, AfxSig_lwl, \
  77.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBInitPropPopup },
  78.         
  79. #define ON_VBM_ISMNEMONIC() \
  80.     { VBM_ISMNEMONIC, 0, AfxSig_lwl, \
  81.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBIsMnemonic },
  82.         
  83. #define ON_VBM_LINKENUMFORMATS() \
  84.     { VBM_LINKENUMFORMATS, 0, AfxSig_lwl, \
  85.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBLinkEnumFormats }, 
  86.         
  87. #define ON_VBM_LINKGETDATA() \
  88.     { VBM_LINKGETDATA, 0, AfxSig_lwl, \
  89.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBLinkGetData },
  90.         
  91. #define ON_VBM_LINKGETITEMNAME() \
  92.     { VBM_LINKGETITEMNAME, 0, AfxSig_lwl, \
  93.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBLinkGetItemName },
  94.         
  95. #define ON_VBM_LINKSETDATA() \
  96.     { VBM_LINKSETDATA, 0, AfxSig_lwl, \
  97.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBLinkSetData },
  98.         
  99. #define ON_VBM_LOADED() \
  100.     { VBM_LOADED, 0, AfxSig_lwl, \
  101.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBLoaded },
  102.     
  103. #define ON_VBM_LOADPROPERTY() \
  104.     { VBM_LOADPROPERTY, 0, AfxSig_lwl, \
  105.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBLoadProperty },
  106.     
  107. #define ON_VBM_LOADTEXTPROPERTY() \
  108.     { VBM_LOADTEXTPROPERTY, 0, AfxSig_lwl, \
  109.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBLoadTextProperty },
  110.     
  111. #define ON_VBM_METHOD() \
  112.     { VBM_METHOD, 0, AfxSig_lwl, \
  113.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBMethod },
  114.  
  115. #define ON_VBM_MNEMONIC() \
  116.     { VBM_MNEMONIC, 0, AfxSig_lwl, \
  117.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBMnemonic },
  118.         
  119. #define ON_VBM_PAINT() \
  120.     { VBM_PAINT, 0, AfxSig_lwl, \
  121.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBPaint },
  122.         
  123. #define ON_VBM_PAINTMULTISEL() \
  124.     { VBM_PAINTMULTISEL, 0, AfxSig_lwl, \
  125.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBPaintMultiSel },
  126.         
  127. #define ON_VBM_PAINTOUTLINE() \
  128.     { VBM_PAINTOUTLINE, 0, AfxSig_lwl, \
  129.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBPaintOutline },
  130.         
  131. #define ON_VBM_PALETTECHANGED() \
  132.     { VBM_PALETTECHANGED, 0, AfxSig_lwl, \
  133.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBPaletteChanged },
  134.         
  135. #define ON_VBM_PASTE() \
  136.     { VBM_PASTE, 0, AfxSig_lwl, \
  137.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBPaste },
  138.         
  139. #define ON_VBM_QPASTEOK() \
  140.     { VBM_QPASTEOK, 0, AfxSig_lwl, \
  141.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBQPasteOk },
  142.         
  143. #define ON_VBM_SAVEPROPERTY() \
  144.     { VBM_SAVEPROPERTY, 0, AfxSig_lwl, \
  145.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBSaveProperty },
  146.         
  147. #define ON_VBM_SAVETEXTPROPERTY() \
  148.     { VBM_SAVETEXTPROPERTY, 0, AfxSig_lwl, \
  149.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBSaveTextProperty },
  150.         
  151. #define ON_VBM_SETPROPERTY() \
  152.     { VBM_SETPROPERTY, 0, AfxSig_lwl, \
  153.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBSetProperty },
  154.         
  155. #define ON_VBM_WANTSPECIALKEY() \
  156.     { VBM_WANTSPECIALKEY, 0, AfxSig_lwl, \
  157.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBWantSpecialKey },
  158.         
  159. #define ON_VBN_CHARTOITEM() \
  160.     { VBN_CHARTOITEM, 0, AfxSig_lwl, \
  161.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBCharToItem },
  162.         
  163. #define ON_VBN_COMMAND() \
  164.     { VBN_COMMAND, 0, AfxSig_lwl, \
  165.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBCtlCommand },
  166.         
  167. #define ON_VBN_COMPAREITEM() \
  168.     { VBN_COMPAREITEM, 0, AfxSig_lwl, \
  169.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBCompareItem },
  170.         
  171. #define ON_VBN_CTLCOLOR() \
  172.     { VBN_CTLCOLOR, 0, AfxSig_lwl, \
  173.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBCtlColor },
  174.         
  175. #define ON_VBN_DELETEITEM() \
  176.     { VBN_DELETEITEM, 0, AfxSig_lwl, \
  177.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBDeleteItem },
  178.         
  179. #define ON_VBN_DRAWITEM() \
  180.     { VBN_DRAWITEM, 0, AfxSig_lwl, \
  181.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBDrawItem },
  182.         
  183. #define ON_VBN_HSCROLL() \
  184.     { VBN_HSCROLL, 0, AfxSig_lwl, \
  185.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBHScroll },
  186.         
  187. #define ON_VBN_MEASUREITEM() \
  188.     { VBN_MEASUREITEM, 0, AfxSig_lwl, \
  189.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBMeasureItem },
  190.         
  191. #define ON_VBN_PARENTNOTIFY() \
  192.     { VBN_PARENTNOTIFY, 0, AfxSig_lwl, \
  193.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBParentNotify },
  194.         
  195. #define ON_VBN_VKEYTOITEM() \
  196.     { VBN_VKEYTOITEM, 0, AfxSig_lwl, \
  197.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBVKeyToItem },
  198.         
  199. #define ON_VBN_VSCROLL() \
  200.     { VBN_VSCROLL, 0, AfxSig_lwl, \
  201.         (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBVScroll },
  202.                                                                 
  203.             
  204. #endif                                                                                        
  205.  
  206.